home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / unix / volume25 / policy / part01 next >
Encoding:
Text File  |  1992-02-29  |  53.5 KB  |  1,363 lines

  1. Newsgroups: comp.sources.unix
  2. From: bbh@mtek.mtek.com (Bud Hovell)
  3. Subject: v25i137: policy V2 - tools for providing interactive timeshare policies, Part01/03
  4. Sender: unix-sources-moderator@pa.dec.com
  5. Approved: vixie@pa.dec.com
  6.  
  7. Submitted-By: bbh@mtek.mtek.com (Bud Hovell)
  8. Posting-Number: Volume 25, Issue 137
  9. Archive-Name: policy/part01
  10.  
  11. Return-Path: oliveb!mtek!nosun.West.Sun.COM!bbh
  12. Received: by cognition.pa.dec.com; id AA04514; Tue, 25 Feb 92 06:52:16 -0800
  13. Received: by uucp-gw-1.pa.dec.com; id AA09026; Tue, 25 Feb 92 06:52:03 -0800
  14. Received: by oliveb.ATC.OLIVETTI.COM (smail2.5)
  15.     id AA08054; 25 Feb 92 06:51:33 PST (Tue)
  16. Received: from Sun.COM (sun-barr) by sun.Eng.Sun.COM (4.1/SMI-4.1)
  17.     id AA03200; Tue, 25 Feb 92 06:27:11 PST
  18. Received: from nosun.West.Sun.COM by Sun.COM (4.1/SMI-4.1)
  19.     id AA12963; Tue, 25 Feb 92 06:26:52 PST
  20. Received: from mtek.UUCP by nosun.West.Sun.COM (4.1/SMI-4.1-900117)
  21.     id AA00552; Tue, 25 Feb 92 06:26:45 PST
  22. Received: by mtek.mtek.com (Smail2.5+apb/mje900117)
  23.     id AA10483; Tue, 25 Feb 92 04:04:52 PST
  24. Subject: Policy Package, part 1 of 3
  25. To: vixie (Paul Vixie)
  26. Date: Tue, 25 Feb 92 4:04:50 PST
  27. Reply-To: policy@mtek.com
  28. X-Mailer: ELM [version 2.4dev PL52]
  29. Message-Id: <9202250404.AA10483@mtek.mtek.com>
  30. From: bbh@mtek.mtek.com (Bud Hovell)
  31.  
  32.  
  33. #! /bin/sh
  34. # This is a shell archive.  Remove anything before this line, then unpack
  35. # it by saving it into a file and typing "sh file".  To overwrite existing
  36. # files, type "sh file -c".  You can also feed this as standard input via
  37. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  38. # will see the following message at the end:
  39. #        "End of archive 1 (of 3)."
  40. # Contents:  INSTALL MANIFEST README man/1stlogin.8.T man/policy.1.T
  41. #   scripts/1stlogin.sh scripts/policy.pl scripts/policy.sh text/ann
  42. #   text/appr text/gen text/help text/logins text/news text/usenet
  43. # Wrapped by policy@mtek.com on Tue Feb 18 20:42:36 1992
  44. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  45. mkdir man misc scripts text
  46. if test -f 'INSTALL' -a "${1}" != "-c" ; then 
  47.   echo shar: Will not clobber existing file \"'INSTALL'\"
  48. else
  49. echo shar: Extracting \"'INSTALL'\" \(5727 characters\)
  50. sed "s/^X//" >'INSTALL' <<'END_OF_FILE'
  51. X$Id: INSTALL,v 5.3.2.5 91/09/03 09:55:04 policy USENET $
  52. X
  53. X                  INSTALLATION OF THE POLICY PACKAGE
  54. X
  55. X*Disclaimer*
  56. X
  57. XThe provider of this package offers no warrantee that it is suitable for any
  58. Xparticular purpose, nor will provider be held liable for any direct or con-
  59. Xsequential damage arising from the use of this package, or from use of any
  60. Xelement or combination of elements thereof, by anyone anywhere at any time.
  61. XProvider does, however, warrant that no element of this package, including
  62. Xany offered advice, has been given which provider knows to be harmful to any
  63. Xother party, or property thereof.
  64. X
  65. X*Directory Contents*
  66. X
  67. XAll policy text examples are in the 'text' directory, executable templates
  68. Xare in 'scripts', and the man pages are in 'man'. When created by the Make-
  69. Xfile, the installable scripts and localized man pages will live in the main
  70. Xdirectory, along with this file, README, Makefile.d, and your Makefile.
  71. X
  72. X(The directory 'misc' contains information which isn't related to the instal-
  73. Xlation itself.)
  74. X
  75. X*Installation* 
  76. X
  77. XCopy Makefile.d to Makefile to get a file to customize for local use.
  78. X
  79. XYou will need to edit the variables in the Makefile to suit local preferences,
  80. Xincluding which version (Bourne or Perl) of the 'policy' script you want to
  81. Xuse.
  82. X
  83. XExecute "make" with no arguments to see a menu of primary options.
  84. X
  85. XThe 'dotext' argument installs everything, including putting the text files
  86. Xinto the policy directory. The 'notext' argument will do everything except
  87. Xinstall the text files.
  88. X
  89. XEach of these options builds a brand new set of executables and man pages
  90. Xeach time, just in case you made intervening changes to the Makefile.
  91. X
  92. XOnce all's installed, then you have only to hand-edit the following small add-
  93. Xition in order to get the '1stlogin' executable cranked up each time a new
  94. Xuser logs in for the first time.  Which entry you use depends on whether you
  95. Xare operating under bsd or sysv.......
  96. X
  97. XFOR GENERIC BSD (systems using '~/.login'):
  98. X
  99. XAdd something like this entry to the new user's initial '.login' file:
  100. X
  101. X   # Show the 1st login announcement.
  102. X   set record="~/.policy_read"
  103. X   if   ( ! -f $record ) then
  104. X        set announcement="/usr/local/etc/1stlogin"
  105. X        if   ( ! -f $announcement ) then
  106. X             echo Subject: $announcement file missing! | mail root
  107. X    else $announcement
  108. X    endif
  109. X   endif
  110. X
  111. XThis calls the '1stlogin' script from 'csh' to be executed under the Bourne
  112. Xshell.
  113. X
  114. XFOR GENERIC SYSV (systems using '/etc/profile'):
  115. X
  116. XAdd something like this entry at some appropriate place in your '/etc/profile'
  117. Xfile:
  118. X
  119. Xrecord="$HOME/.policy_read"
  120. Xif   [ ! -f $record ]
  121. Xthen announcement="/usr/local/etc/1stlogin"
  122. X     if [ ! -x $announcement ]
  123. X     then echo "Subject: $announcement file missing!" | mail root
  124. X     else $announcement
  125. X     fi
  126. Xfi
  127. X
  128. XNow, or at any other time you are fooling around with '/etc/profile', you may
  129. Xwant to make a temporary backup copy of /etc/profile, and - before you log
  130. Xoff - FULLY TEST that the new profile is working after your changes. If you
  131. Xdon't feel comfortable making these changes, then get help from someone who
  132. Xdoes. Or, put this entry in each individual new user's .profile - an approach
  133. Xsimilar to the one described above for bsd. Not as nice, but....
  134. X
  135. X*Bugs*
  136. X
  137. XWe have done what we could to ensure this package will install on just about
  138. Xany ordinary flavor of un*x, but if any installation problem occurs, please
  139. Xsend email to the address listed in the man page (BUGS section) so we can
  140. Xhave a shot at fixing it. If you have patches (unidiff ok), send them.
  141. X
  142. X*Summary Listing*
  143. X
  144. XThat should do it. Here is what an example listing looks like of the relevant
  145. Xfiles on our system:
  146. X
  147. X-r--r--r--   1 root  root    444 Mar 24 07:50 /usr/local/adm/Policy/appr
  148. X-r--r--r--   1 root  root   1791 Mar 24 07:50 /usr/local/adm/Policy/ann
  149. X-r--r--r--   1 root  root   4932 Mar 24 07:50 /usr/local/adm/Policy/gen
  150. X-r--r--r--   1 root  root    802 Mar 24 07:50 /usr/local/adm/Policy/help
  151. X-r--r--r--   1 root  root   2956 Mar 24 07:50 /usr/local/adm/Policy/logins
  152. X-r--r--r--   1 root  root   3333 Mar 24 07:50 /usr/local/adm/Policy/news
  153. X-rw-rw-rw-   1 root  root    822 Mar 24 07:52 /usr/local/adm/Policy/polmenu
  154. X-r--r--r--   1 root  root   1549 Mar 24 07:50 /usr/local/adm/Policy/usenet
  155. X-r-xr-xr-x   1 root  root   3385 Mar  1 18:49 /usr/local/bin/policy
  156. X-r--r--r--   1 root  root   2797 Mar 28 14:14 /usr/local/etc/1stlogin
  157. X-r--r--r--   1 root  root   1425 Apr  4 15:34 /usr/man/man1/policy.1.Z
  158. X-r--r--r--   1 root  root   1425 Apr  4 15:34 /usr/man/man8/1stlogin.8.Z
  159. X
  160. X*Acknowledgements*
  161. X
  162. XI owe particular gratitude and credit to these folks for assistance in
  163. Xthe ways of the bsd world, in particular, (only sysv mumbled here loc-
  164. Xally, I confess)....
  165. X
  166. X    Andy Linton <Andy.Linton@comp.vuw.ac.nz> - who ported
  167. X    'policy.sh' to the perl version 'policy.pl', lending another
  168. X    endorsement to the adoption of perl as a standard unix tool.
  169. X    He also made very nice mods to the Makefile and *.sh files to
  170. X    handle 'sh' command differences between BSD and SYSV using
  171. X    variable substitutions.
  172. X
  173. X    Bjorn Satdeva <bjorn@sysadmin.com> - whose considerable talent
  174. X    and experience helped assure these scripts are properly called
  175. X    under a variety of unixen, and who advised me on fixes for minor
  176. X    unpleasantries I encountered while creating the Makefile. He also,
  177. X    of course, contributed one of the three reprint articles provided.
  178. X
  179. X    Michael Sofka <mike@pubserv.com> - who helped test all this, and
  180. X    provided useful suggestions along the way.
  181. X
  182. X....and to Rob Kolstad <kolstad@sun.com> - who certainly should bear
  183. X    *some* of the blame for this. :-)[
  184. X                               
  185. XMy sincere thanks to them all.
  186. X
  187. Xbud@mtek.com
  188. END_OF_FILE
  189. if test 5727 -ne `wc -c <'INSTALL'`; then
  190.     echo shar: \"'INSTALL'\" unpacked with wrong size!
  191. fi
  192. # end of 'INSTALL'
  193. fi
  194. if test -f 'MANIFEST' -a "${1}" != "-c" ; then 
  195.   echo shar: Will not clobber existing file \"'MANIFEST'\"
  196. else
  197. echo shar: Extracting \"'MANIFEST'\" \(1355 characters\)
  198. sed "s/^X//" >'MANIFEST' <<'END_OF_FILE'
  199. X   File Name        Archive #    Description
  200. X-----------------------------------------------------------
  201. X INSTALL                    1    How to
  202. X MANIFEST                   1    Shipping list of files in $Revision: 5.3.2.5 $
  203. X Makefile.d                 2    Distribution makefile
  204. X README                     1    Information on use and administration
  205. X man/1stlogin.8.T           1    Template to make localized '1stlogin.1' man page
  206. X man/policy.1.T             1    Template to make localized 'policy.1' man page
  207. X misc/Survey                2    Brief survey for your voluntary feedback
  208. X misc/art.rt                3    Short reprint article on policy-definition
  209. X misc/art.ur1               2    Same
  210. X misc/art.ur2               3    Same
  211. X scripts/1stlogin.sh        1    Executable: shell for new login users
  212. X scripts/policy.pl          1    Executable: policy (perl script)
  213. X scripts/policy.sh          1    Executable: policy (shell script)
  214. X text/ann                   1    Example: new login announcement
  215. X text/appr                  1    Example: approval by top management
  216. X text/gen                   1    Example: general policy
  217. X text/help                  1    Example: help file for 'policy' menu
  218. X text/logins                1    Example: specific user responsibilities
  219. X text/news                  1    Example: local policy on usenet news
  220. X text/usenet                1    Example: local policy on usenet connections
  221. END_OF_FILE
  222. if test 1355 -ne `wc -c <'MANIFEST'`; then
  223.     echo shar: \"'MANIFEST'\" unpacked with wrong size!
  224. fi
  225. # end of 'MANIFEST'
  226. fi
  227. if test -f 'README' -a "${1}" != "-c" ; then 
  228.   echo shar: Will not clobber existing file \"'README'\"
  229. else
  230. echo shar: Extracting \"'README'\" \(5164 characters\)
  231. sed "s/^X//" >'README' <<'END_OF_FILE'
  232. X$Id: README,v 5.3.2.5 91/09/03 09:55:14 policy USENET $
  233. X
  234. X                           POLICY PACKAGE
  235. X
  236. XThis kit contains basic tools for providing interactive policy administration
  237. Xin a unix environment. Two executable scripts are provided: '1stlogin', and
  238. X'policy'. (See the 'INSTALL' document for installation instructions.)
  239. X
  240. XBefore you proceed, please consult the enclosed 'man' page templates (in the
  241. Xdirectory 'man') for basic information about the operation of these scripts,
  242. Xwhich are the core of this work.
  243. X
  244. X*** "Policies" or "Problems"? ***
  245. X
  246. XMany of the professional and technical persons I have known in the past 20
  247. Xyears simply detested dealing with "people-problems" - all the inevitable
  248. Xconflicts and personal frictions which exist in every human society. They
  249. Xwere frequently gratified to find such thorny issues can often be dealt
  250. Xwith through adoption of formal, outcome-oriented policies, and that what
  251. Xappeared to be "people-problems" often proved to be only "policy problems".
  252. XThe text examples enclosed may provide useful hints in how to develop your
  253. Xown local policies.
  254. X
  255. XIn particular....
  256. X
  257. XThe 'gen' (general policy) text file is our basic, fundamental set of rules
  258. Xregarding system usage.  All other policy files are subordinate to it, and
  259. Xprovide only elaborating detail. It contains provisions based on what we
  260. Xconsider to be common sense, ordinary courtesy, and/or practical necessity
  261. Xin a sane computing environment. It also has some protections built in to
  262. Xhelp defend users from covert or informal policies being created (or existing
  263. Xones altered) because of someone's personal whim or hidden agenda.
  264. X
  265. XThe text file 'help' is the help file for the policy menu, and it advises
  266. Xhow the login user can recognize the hierarchy of files and thus know which
  267. Xto review, and in what order.
  268. X
  269. XThe text file 'appr' is an example of a notice of approval of current policies.
  270. XThis makes it clear where the authority is really coming from for the estab-
  271. Xlished policies - and thus tends to fend off any petty quibbling.
  272. X
  273. XThree other text files, 'logins', 'news', and 'usenet' are provided merely as
  274. Xadditional examples based on our own local rules.
  275. X
  276. XThe copyright notices attached to text files are an artifact of our practice
  277. Xof giving binding notice to users about which files may not be externally
  278. Xpublished - these you see here are all "freely distributable".
  279. X
  280. X
  281. X*** Usage ***
  282. X
  283. XOnce everything is installed, then at the command line type in 'policy', and
  284. Xyou should see something similar to this example display:
  285. X
  286. X
  287. X             DIRECTORY OF LOCAL POLICY FOR HOST 'MTEK'
  288. X
  289. X             ann     - first announcement to new users
  290. X             appr    - approval by top management (!)
  291. X             back    - who makes backups and when
  292. X             cont    - routine & emergency contacts
  293. X             email   - email services and how to use them
  294. X             gen     - general policy (!)
  295. X             help    - how to use these files (!)
  296. X             logins  - responsibilities of users (!)
  297. X             news    - local guidelines on usenet news (!)
  298. X             sec     - system security (!)
  299. X             tree    - what the directory structure contains
  300. X             usenet  - our world-wide connection (!)
  301. X
  302. X             .....or 'q'uit
  303. X
  304. X             To review a policy, type in subject: >
  305. X
  306. XTyping in the key word (say, "news") pages up that file for the user to
  307. Xread, then dumps him back to the menu when he quits the file.
  308. X
  309. XWhen you have developed your own local policies, of course, these will
  310. Xbe reflected on the menu, instead.
  311. X
  312. X*** Administration ***
  313. X                         [ 1stlogin script ]
  314. X
  315. XAdministrators may want to make it a habit to save the mail notification
  316. Xmessages recording first-logins into a permanent record for possible future
  317. Xreference.  These will be your *only* iron-clad evidence of when and that
  318. Xspecific users received formal notice, unless you are going to require a
  319. Xsigned piece of paper (which some situations may demand).
  320. X
  321. X                          [ policy script ] 
  322. X
  323. XOnce set up, the script automatically updates the menu any time a text file
  324. Xis added or updated.  NOTE: in those rare instances you may choose to
  325. X*remove* a named text file, just manually touch the menu file back to an
  326. Xancient date (e.g., "touch 0101000080 polmenu") and 'policy' will faithfully
  327. Xrebuild a new menu of current entries when next invoked by any user.
  328. X
  329. XOther than keeping up with occasional revisions of written policy, that's
  330. Xabout all there is to it.
  331. X
  332. X
  333. X*** Miscellaneous ***
  334. X
  335. X'Survey':
  336. XWe would appreciate having this feedback from you.  We now maintain an
  337. Xongoing base of data about trends in policy administration and ask only
  338. Xthat you contribute to that effort.  This form also gives us feedback on
  339. Xwhether your installation of these tools went smoothly.  Even if you were
  340. Xto decide not to use this package at all, we would like this feedback.
  341. X
  342. XArticle reprints:
  343. XIncluded for anyone who may be interested, these present a number of
  344. Xconsiderations for defining and installing an effective policy structure
  345. Xin an organization. Your specific mileage may vary, of course, depending
  346. Xon local political weather and terrain. :-)
  347. X
  348. Xbud@mtek.com
  349. END_OF_FILE
  350. if test 5164 -ne `wc -c <'README'`; then
  351.     echo shar: \"'README'\" unpacked with wrong size!
  352. fi
  353. # end of 'README'
  354. fi
  355. if test -f 'man/1stlogin.8.T' -a "${1}" != "-c" ; then 
  356.   echo shar: Will not clobber existing file \"'man/1stlogin.8.T'\"
  357. else
  358. echo shar: Extracting \"'man/1stlogin.8.T'\" \(1969 characters\)
  359. sed "s/^X//" >'man/1stlogin.8.T' <<'END_OF_FILE'
  360. X.\" $Id: 1stlogin.8.T,v 5.3.2.5 91/09/03 09:54:41 policy USENET $
  361. X.\"
  362. X.\" Copyright (c) 1991 by Bergen B. Hovell, Jr.
  363. X.\" You may not distribute or otherwise use this work for any profit-making
  364. X.\" purpose without the express permission of the author, but this work is
  365. X.\" otherwise freely distributable so long as this header remains attached.
  366. X.\" _______________________________________________________________________
  367. X.\"
  368. X.TH 1STLOGIN 8 USENET "Policy Administration"
  369. X.\"
  370. X.SH "NAME"
  371. X.B 1stlogin \fP-
  372. Xdisplay initial policy announcement to new login user and send notification
  373. Xto system administrator showing when announcement was made (or report that
  374. Xit was not).
  375. X.SH "SYNOPSIS"
  376. X.B 1stlogin
  377. X.SH "DESCRIPTION"
  378. XThis command is automatically invoked during the login process at the beginning
  379. Xof the user's first (only) login session. How this is discriminated is based
  380. Xon whether a previously-created "record" file exists in the user's home
  381. Xdirectory.
  382. X.PP
  383. XWhen the script executes, it creates this record before exiting.
  384. X.PP
  385. X(This created record contains a notice stating that the record is not to be
  386. Xremoved \- and why \- in the hope that the user may bother to read it before
  387. Xremoving it.) 
  388. X.PP
  389. XIf the script finds everything in order, it sends mail to the administrator
  390. Xdocumenting when the first login session occurred and indicating that the
  391. Xuser was duly notified. These records can then be saved for reference, if
  392. Xfuture need arises.
  393. X.PP
  394. XIf the script fails, then mail is sent to notify the administrator that
  395. Xrepair action is required and that a new login user has failed to be properly
  396. Xnotified to read the restrictions on his use of local computer resources.
  397. X.SH "OPTIONS"
  398. XNone
  399. X.SH "SEE ALSO"
  400. Xpolicy(1)
  401. X.SH "FILES"
  402. XPATH_TO_1ST
  403. X.br
  404. XPATH_TO_ANN
  405. X.br
  406. XRECORD_FILE
  407. X.br
  408. X.SH "BUGS"
  409. XIf the user removes the records file from his home directory, then the
  410. Xscript will run again upon his next login.
  411. X.PP
  412. XBug reports to:
  413. X.br
  414. X<\fIpolicy@mtek.com\fP> or <\fImtek!policy\fP>
  415. END_OF_FILE
  416. if test 1969 -ne `wc -c <'man/1stlogin.8.T'`; then
  417.     echo shar: \"'man/1stlogin.8.T'\" unpacked with wrong size!
  418. fi
  419. # end of 'man/1stlogin.8.T'
  420. fi
  421. if test -f 'man/policy.1.T' -a "${1}" != "-c" ; then 
  422.   echo shar: Will not clobber existing file \"'man/policy.1.T'\"
  423. else
  424. echo shar: Extracting \"'man/policy.1.T'\" \(1982 characters\)
  425. sed "s/^X//" >'man/policy.1.T' <<'END_OF_FILE'
  426. X.\" $Id: policy.1.T,v 5.3.2.5 91/09/03 09:55:58 policy USENET $
  427. X.\"
  428. X.\" Copyright (c) 1991 by Bergen B. Hovell, Jr. All Rights Reserved.
  429. X.\" You may not distribute or otherwise use this work for any profit-making
  430. X.\" purpose without the express permission of the author, but this work is
  431. X.\" otherwise freely distributable so long as this header remains attached.
  432. X.\" _______________________________________________________________________
  433. X.\"
  434. X.TH POLICY 1 USENET "Policy Administration"
  435. X.\"
  436. X.SH "NAME"
  437. X.B policy \fP-
  438. Xdisplay policies for login users of local computing resources.
  439. X.SH "SYNOPSIS"
  440. X.B policy
  441. X.SH "DESCRIPTION"
  442. XThis command causes a menu to be displayed to an ordinary user, from which
  443. Xhe may select individual policy documents for review.
  444. X.PP
  445. XEach selection item consists of a key word, followed by a brief description
  446. Xof the subject addressed in that document. When the user types in the key
  447. Xword, the associated document is paged to his screen for review. When he
  448. Xleaves the document, he is returned to the menu.
  449. X.PP
  450. XIf the item description is followed by the symbolic notation \fI(!)\fP,
  451. Xthen that selection contains a formal policy requirement with which the user
  452. Xis obliged to be fully acquainted, and with which he must fully comply.
  453. X.PP
  454. XAbsent such symbolic notation, a selection item contains merely topical
  455. Xadvisory information approved for the user to rely upon if the need arises.
  456. XAll such documents therefore lie outside of defined \fIpolicy\fP, since
  457. Xthe user is not obliged to perform \- or not perform \- some specific or
  458. Xgeneral behavior. Such advisory documents are co-located under the
  459. X\fRpolicy\fP menu simply for user convenience.
  460. X.PP
  461. XA help file is provided, listed as the selection item \fIhelp\fP.
  462. X.SH "OPTIONS"
  463. XThere are no options at this time, though creeping featurism may overcome
  464. Xthis deficiency in the future. 
  465. X.SH "FILES"
  466. XPATH_TO_POLEX
  467. X.br
  468. XPATH_TO_POLDIR
  469. X.br
  470. X.SH "BUGS"
  471. XBug reports to:
  472. X.br
  473. X<\fIpolicy@mtek.com\fP> or <\fImtek!policy\fP>
  474. END_OF_FILE
  475. if test 1982 -ne `wc -c <'man/policy.1.T'`; then
  476.     echo shar: \"'man/policy.1.T'\" unpacked with wrong size!
  477. fi
  478. # end of 'man/policy.1.T'
  479. fi
  480. if test -f 'scripts/1stlogin.sh' -a "${1}" != "-c" ; then 
  481.   echo shar: Will not clobber existing file \"'scripts/1stlogin.sh'\"
  482. else
  483. echo shar: Extracting \"'scripts/1stlogin.sh'\" \(3703 characters\)
  484. sed "s/^X//" >'scripts/1stlogin.sh' <<'END_OF_FILE'
  485. X:
  486. X#!/bin/sh
  487. X# $Id: 1stlogin.sh,v 5.3.2.5 91/09/03 09:55:00 policy USENET $
  488. X#
  489. X# Copyright (c) 1991 by Bergen B. Hovell, Jr.
  490. X# You may not distribute or otherwise use this work for any profit-making
  491. X# purpose without the express permission of the author, but this work is
  492. X# otherwise freely distributable so long as this header remains attached.
  493. X##################### edit these in the Makefile! ########################
  494. XPATH=
  495. Xpager=
  496. Xrecord=
  497. Xpoldir=
  498. Xannouncement=
  499. Xdefterm=
  500. Xmssgto=
  501. Xname=
  502. Xfast=
  503. X##########################################################################
  504. XIFS="
  505. X"
  506. Xexport PATH IFS
  507. X
  508. Xtrap '' 2;                            # Allow no user interrupts
  509. X
  510. Xlogdate=`exec 'date'`                 # Date of record of this announcement
  511. X
  512. X# Let's do it:
  513. Xif [ ! -r "$announcement" ]
  514. Xthen echo "Subject: New-login info failed for '$name' on $logdate!" \
  515. X                                                               | mail $mssgto
  516. Xelse if [ ! "$TERM" ]
  517. X     then TERM=$defterm
  518. X          export TERM
  519. X          noterm=yes
  520. X     fi
  521. X     
  522. X     # Do we have a "clear" function available?
  523. X     if [ -x /bin/clear -o -x /usr/bin/clear -o -x /usr/ucb/clear ]
  524. X     then clear=`clear`
  525. X     # ....or curses?
  526. X     elif  [ -x /usr/bin/tput ]
  527. X     then clear=`tput clear`
  528. X     # ....nada....
  529. X     else clear=
  530. X     fi
  531. X     
  532. X     # Call up the new-login announcement into the pager, and apologize if
  533. X     # we are not a fast machine:
  534. X     echo  $clear
  535. X     $pager $announcement
  536. X     echo  $clear
  537. X     if [ "$fast" != "yes" ]
  538. X     then cat << "     endmssg"  
  539. X
  540. X
  541. X
  542. X
  543. X
  544. X
  545. X                          ADMINISTRATIVE NOTICE!
  546. X
  547. X          * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  548. X          *                                                     *
  549. X          *  Sorry for the brief delay, but I must do some one- *
  550. X          *  time tasks related to your first login session.    *
  551. X          *                                                     *
  552. X          *  Please be patient................................  *
  553. X          *                                                     *
  554. X          * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  555. X
  556. X
  557. X
  558. X
  559. X
  560. X
  561. X
  562. X     endmssg
  563. X     fi
  564. X     
  565. X     # Create a file for us to test hereafter so this script never runs
  566. X     # again for this user:
  567. X     cat << "     endmssg"  > $record
  568. X
  569. X               * * * * * * * * * * * * * * * * * * * * * * * 
  570. X               *                  NOTICE                   *
  571. X               *                                           *
  572. X               *  The existence of this file suppresses    *
  573. X               *  the one-time login announcement about    *
  574. X               *  policies on this host. If you remove     *
  575. X               *  this file, that announcement will again  *
  576. X               *  bore you the next time you log in. :-)   *
  577. X               *                                           *
  578. X               * * * * * * * * * * * * * * * * * * * * * * * 
  579. X
  580. X                             Thanks.....System Administrator
  581. X     endmssg
  582. X     chmod 440 $record
  583. X     
  584. X     # Notify the administrator that the user has completed his first login and
  585. X     # has seen the announcement (or that he did not!):
  586. X     if [ -f $record ]
  587. X     then echo "Subject: Successful new-login '$name' logged in on $logdate" \
  588. X                                                               | mail $mssgto
  589. X     else echo "Subject: New-login info failed for '$name' on $logdate!"     \
  590. X                                                               | mail $mssgto
  591. X     fi
  592. X
  593. X     # If he didn't have a TERM value coming into this script on this system,
  594. X     # then be sure it is null going out:
  595. X     if [ "$noterm" ]
  596. X     then TERM=""
  597. X          export TERM
  598. X     fi
  599. X
  600. Xfi
  601. X   
  602. X# end of file
  603. END_OF_FILE
  604. if test 3703 -ne `wc -c <'scripts/1stlogin.sh'`; then
  605.     echo shar: \"'scripts/1stlogin.sh'\" unpacked with wrong size!
  606. fi
  607. # end of 'scripts/1stlogin.sh'
  608. fi
  609. if test -f 'scripts/policy.pl' -a "${1}" != "-c" ; then 
  610.   echo shar: Will not clobber existing file \"'scripts/policy.pl'\"
  611. else
  612. echo shar: Extracting \"'scripts/policy.pl'\" \(3392 characters\)
  613. sed "s/^X//" >'scripts/policy.pl' <<'END_OF_FILE'
  614. X#!/usr/local/bin/perl
  615. X# $Id: policy.pl,v 5.3.2.5 91/09/03 09:56:01 policy USENET $
  616. X#
  617. X# Ported to perl by Andy Linton <Andy.Linton@comp.vuw.ac.nz>
  618. X# Based on a shell script by Bud Hovell <bud@mtek.com>
  619. X#
  620. X# Copyright (c) 1991 Andy Linton
  621. X# All rights reserved.
  622. X#
  623. X# Redistribution and use in source and binary forms are permitted provided
  624. X# that: (1) source distributions retain this entire copyright notice and
  625. X# comment, and (2) distributions including binaries display the following
  626. X# acknowledgement:  ``This product includes software developed by the
  627. X# Victoria University of Wellington, New Zealand and its contributors''
  628. X# in the documentation or other materials provided with the distribution
  629. X# and in all advertising materials mentioning features or use of this
  630. X# software.
  631. X# Neither the name of the University nor the names of its contributors may
  632. X# be used to endorse or promote products derived from this software without
  633. X# specific prior written permission.
  634. X# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  635. X# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  636. X# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  637. X#################### edit these in the Makefile! ###########################
  638. X$poldir='';
  639. X$pager='';
  640. X$myname='';
  641. X############################################################################
  642. X# Note: any policy file must be named identically to the first word of the
  643. X#     first line in the file itself. Consider the file "logins", with
  644. X#    this as line one:
  645. X#
  646. X#    logins  - responsibilities of users
  647. X#
  648. X#    .....where the word "logins" begins at character one of line
  649. X#       one of the file named "logins". This first line will then be
  650. X#       extracted to the ad-hoc menu file to provide the menu id for
  651. X#       the user to select the "logins" policy file.
  652. X
  653. X$| = 1;        # Force a flush after each write or print
  654. X
  655. X$clear='';
  656. X# Do we have a "clear" function?
  657. Xif (-x '/bin/clear')
  658. X{
  659. X    $clear='/bin/clear';
  660. X}
  661. Xelsif (-x '/usr/bin/clear')
  662. X{
  663. X    $clear='/usr/bin/clear';
  664. X}
  665. Xelsif (-x '/usr/ucb/clear')
  666. X{
  667. X    $clear='/usr/ucb/clear';
  668. X}
  669. X# ....or curses?
  670. Xelsif (-x '/usr/bin/tput')
  671. X{
  672. X    $clear='/usr/bin/tput clear';
  673. X}
  674. X
  675. X# Build a menu from the files in the $poldir directory
  676. Xchdir ($poldir);
  677. Xopendir (POLDIR, $poldir) || die "Can't opendir $poldir, stopped";
  678. Xwhile ($filename = readdir (POLDIR))
  679. X{
  680. X  if (-f $filename)
  681. X  {
  682. X    open (FILENAME, $filename) || die  "Can't opendir $filename, stopped";
  683. X    $_ = <FILENAME>;
  684. X    close (FILENAME);
  685. X    ($menu_entry, $junk) = split(/\$/);
  686. X    $menu{$filename} = $menu_entry;
  687. X  }
  688. X}
  689. X
  690. X$hostname = `$myname`;
  691. X$hostname =~ tr/a-z/A-Z/;
  692. X
  693. X# Re-run the menu until 'quit' from user:
  694. Xwhile(1)
  695. X{
  696. X  system ("$clear");
  697. X
  698. X  print "\nDIRECTORY OF LOCAL POLICY FOR $hostname\n";
  699. X  
  700. X  while (($key, $value) = each(%menu))
  701. X  {
  702. X    print "\n\t$value\n";
  703. X  }
  704. X
  705. X  print "\n\tor 'q'uit";
  706. X  print "\n\nTo review a policy, type in subject: > ";
  707. X  $_ = <STDIN>;
  708. X  if (/^[qQ]$/)
  709. X  {
  710. X    # Wants to quit
  711. X    print "\nPolicy review concluded. Thank you for your interest.\n";
  712. X    last;
  713. X  }
  714. X  elsif (/^$/)
  715. X  {
  716. X    # No entry
  717. X    print "\nYou must provide a name or 'q'uit.\007";
  718. X    sleep (2);
  719. X    next;
  720. X  }
  721. X  else
  722. X  {
  723. X    # Wants another
  724. X    chop;
  725. X    if (-r "$poldir/$_")
  726. X    {
  727. X      system ("$clear");
  728. X      system ("$pager $poldir/$_");
  729. X    }
  730. X    else
  731. X    {
  732. X      print "\nYou must provide a name or 'q'uit.\007";
  733. X      sleep (2);
  734. X    }
  735. X  }
  736. X}
  737. END_OF_FILE
  738. if test 3392 -ne `wc -c <'scripts/policy.pl'`; then
  739.     echo shar: \"'scripts/policy.pl'\" unpacked with wrong size!
  740. fi
  741. # end of 'scripts/policy.pl'
  742. fi
  743. if test -f 'scripts/policy.sh' -a "${1}" != "-c" ; then 
  744.   echo shar: Will not clobber existing file \"'scripts/policy.sh'\"
  745. else
  746. echo shar: Extracting \"'scripts/policy.sh'\" \(4198 characters\)
  747. sed "s/^X//" >'scripts/policy.sh' <<'END_OF_FILE'
  748. X:
  749. X#!/bin/sh
  750. X# $Id: policy.sh,v 5.3.2.5 91/09/03 09:56:03 policy USENET $
  751. X#
  752. X# Copyright (c) 1989, 1990, 1991 by Bergen B. Hovell, Jr.
  753. X# You may not distribute or otherwise use this work for any profit-making
  754. X# purpose without the express permission of the author, but this work is
  755. X# otherwise freely distributable so long as this header remains attached.
  756. X#############################################################################
  757. X# Revision 4.6.2.2  91/04/04  12:30:18  bbh
  758. X# Use variable substitution for differences in BSD vs. SYSV 'sh' commands.
  759. X# By Andy Linton <Andy.Linton@comp.vuw.ac.nz>.
  760. X#################### edit these in the Makefile! ############################
  761. XPATH=
  762. Xpoldir=
  763. Xpager=
  764. Xmyname=
  765. Xis3b1=
  766. X#############################################################################
  767. X# Note: any policy file must be named identically to the first word of the
  768. X#     first line in the file itself. Consider the file "logins", with
  769. X#    this as line one:
  770. X#  
  771. X#    logins  - responsibilities of users
  772. X#
  773. X#    .....where the word "logins" begins at character one of line
  774. X#       one of the file named "logins". This first line will then be
  775. X#       extracted to the ad-hoc menu file to provide the menu item for
  776. X#       the user to select the "logins" policy file.
  777. X#
  778. X#    Optionally, you may show an RCS header or id as the last item
  779. X#    on line 1, and it will be stripped away so as not to show up on
  780. X#    the menu listing. It will, however, show up when the file is
  781. X#    paged up onto the screen, so the user can see what the last date
  782. X#    of change (or perhaps just the Revision number) exists for that
  783. X#    policy file. This is a recommended approach, if you have RCS to
  784. X#    maintain these files. (SCCS could be used similarly, which would
  785. X#    necessitate only minor changes in the sed statement below).
  786. X############################################################################
  787. Xexport PATH
  788. X
  789. X# Some variables:
  790. Xhost=`$myname | tr [a-z] [A-Z]`       
  791. Xmenu=$poldir/polmenu
  792. X
  793. X# Are we a 3B1?:
  794. Xif [ "$is3b1" = "yes" ]
  795. Xthen c='\c'
  796. X     nl='\n'
  797. X     n=
  798. Xelse # Andy's sort for bsd vs. sysv:
  799. X     nl=`echo \\\\n`
  800. X     if [ ${nl} ]
  801. X     then nl='
  802. X'
  803. X     else nl='\n'
  804. X     fi
  805. X     c=`echo \\\\c`
  806. X     if [ ${c} ]
  807. X     then n='-n'
  808. X          c=
  809. X     else c='\c'
  810. X     fi
  811. Xfi
  812. X
  813. X# Do we have a "clear" function?
  814. Xif [ -x /bin/clear -o -x /usr/bin/clear -o -x /usr/ucb/clear ]
  815. Xthen clear=`clear`
  816. X# ....or curses?
  817. Xelif  [ -x /usr/bin/tput ]
  818. Xthen clear=`tput clear`
  819. Xelse clear=
  820. Xfi
  821. X    
  822. X# Any files newer than menu?
  823. Xcd $poldir 
  824. Xnew=`find . -newer $menu -print`
  825. X
  826. X# If so, menu needs to be updated:
  827. Xif [ "$new" ]
  828. Xthen echo "${nl}Ooops...hold on while I build a new menu for '$0'...${nl}" 
  829. X     > $menu
  830. X     filelist=`ls | sed -e 's/polmenu//g' \
  831. X             -e 's/^[     ]$//g' \
  832. X                        -e 's/$//g'; echo "${nl}"`
  833. X     for file in $filelist
  834. X     do
  835. X          echo ${n} "               ${c}"                          >> $menu
  836. X          # This will read out all of line 1 into the user menu,
  837. X          # except for any trailing Id or Header stuff for RCS
  838. X          # (if you show your revision info on line one):
  839. X          cat $file | sed -n '1p' | sed 's/[$].*$//g'              >> $menu
  840. X     done
  841. Xfi
  842. X    
  843. X# Re-run the menu until 'quit' from user:
  844. Xi=x
  845. Xuntil [ $i = "q|Q|quit|Quit" ]; do
  846. X     echo $clear
  847. X     echo "${nl}               DIRECTORY OF LOCAL POLICY FOR HOST '$host'${nl}"
  848. X     cat $menu
  849. X     echo "${nl}               .....or 'q'uit"
  850. X     echo ${n} "${nl}               To review a policy, type in subject: > ${c}"
  851. X     read i
  852. X     case $i in
  853. X           q|Q|quit|Quit) # Wants to quit
  854. X                echo "${nl}               Policy review concluded.  Thanks for your interest.${nl}"
  855. X                break ;;
  856. X           "")  # No entry
  857. X                i=x
  858. X                echo "${nl}               You must provide a name or 'q'uit.\007"
  859. X                sleep 2
  860. X                continue ;;
  861. X           *)   # Wants another
  862. X                if [ -r $poldir/$i ]
  863. X                then echo $clear
  864. X             $pager $poldir/$i
  865. X                     i=x
  866. X                else echo "${nl}               You must provide a name or 'q'uit.\007"
  867. X                     sleep 2
  868. X                     i=x
  869. X                fi
  870. X                continue ;;
  871. X     esac
  872. Xdone
  873. END_OF_FILE
  874. if test 4198 -ne `wc -c <'scripts/policy.sh'`; then
  875.     echo shar: \"'scripts/policy.sh'\" unpacked with wrong size!
  876. fi
  877. # end of 'scripts/policy.sh'
  878. fi
  879. if test -f 'text/ann' -a "${1}" != "-c" ; then 
  880.   echo shar: Will not clobber existing file \"'text/ann'\"
  881. else
  882. echo shar: Extracting \"'text/ann'\" \(971 characters\)
  883. sed "s/^X//" >'text/ann' <<'END_OF_FILE'
  884. Xann     - first announcement to new users             $Revision: 5.3.2.5 $
  885. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  886. X
  887. X      (Touch <u> to move up, <space-bar> or <return> to move down)
  888. X
  889. X                                WELCOME!!!
  890. X
  891. X      * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  892. X      *  Immediately after logging in, you should invoke 'policy' * 
  893. X      *  from the command line, then select "help" from the menu  *
  894. X      *  for instructions to review the policies which govern the *
  895. X      *  operation of this system.  This should take very little  *
  896. X      *  time, and is a condition of your local login privilege.  *
  897. X      *                                                           *
  898. X      *  (A man page also is provided for the 'policy' command).  *
  899. X      * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  900. X
  901. X
  902. X                           (Touch <q> to quit>
  903. X
  904. X
  905. XCopyright (c) 1990, 1991 by MTEK International, Inc. - freely distributable.
  906. END_OF_FILE
  907. if test 971 -ne `wc -c <'text/ann'`; then
  908.     echo shar: \"'text/ann'\" unpacked with wrong size!
  909. fi
  910. # end of 'text/ann'
  911. fi
  912. if test -f 'text/appr' -a "${1}" != "-c" ; then 
  913.   echo shar: Will not clobber existing file \"'text/appr'\"
  914. else
  915. echo shar: Extracting \"'text/appr'\" \(733 characters\)
  916. sed "s/^X//" >'text/appr' <<'END_OF_FILE'
  917. Xappr    - approval by top management (!)
  918. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  919. X
  920. XFrom: Mike McCormick <mc@mtek.com>
  921. XSubject: Approval of computer resource policy
  922. XTo: All login users
  923. X$Date: 91/09/03 09:55:24 $.
  924. X
  925. XI have reviewed and do herewith endorse and approve all computer resource
  926. Xpolicies published as of this date, up through and including:
  927. X
  928. X                           $Revision: 5.3.2.5 $
  929. X
  930. XAny objections or concerns about policies described under the 'policy' menu
  931. Xon this host should be directed first to the system manager, and thereafter
  932. Xto me if your concerns remain unresolved.
  933. X
  934. X[signed]
  935. XMichael C. McCormick
  936. XPresident
  937. XMTEK International, Inc.
  938. X
  939. X  Copyright (c) 1991 by MTEK International, Inc. - freely distributable.
  940. END_OF_FILE
  941. if test 733 -ne `wc -c <'text/appr'`; then
  942.     echo shar: \"'text/appr'\" unpacked with wrong size!
  943. fi
  944. # end of 'text/appr'
  945. fi
  946. if test -f 'text/gen' -a "${1}" != "-c" ; then 
  947.   echo shar: Will not clobber existing file \"'text/gen'\"
  948. else
  949. echo shar: Extracting \"'text/gen'\" \(5206 characters\)
  950. sed "s/^X//" >'text/gen' <<'END_OF_FILE'
  951. Xgen     - general policy (!)                           $Revision: 5.3.2.5 $
  952. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  953. X
  954. X                     * * * * * * * * * * * * * * *
  955. X                     * Computer Resources Policy *
  956. X                     * * * * * * * * * * * * * * *
  957. X
  958. XAll users shall use computing facilities in a manner which is ethical, legal,
  959. Xand not contrary to the interests of others, including MTEK International,
  960. XInc. ("the company").
  961. X
  962. X1.  Scope
  963. X
  964. XComputing facilities are those operated by or for the benefit of the company,
  965. Xand provided for authorized use only by local and remote authorized users.
  966. X
  967. X"Policy" refers only to those collective electronic documents accessible to
  968. Xauthorized users under the 'policy' menu and marked with the symbol "(!)",
  969. Xas shown at the top of this document.
  970. X
  971. XAll other menu-items are merely advisory, providing approved information
  972. Xwhich the user may rely upon.
  973. X
  974. X2.  Application
  975. X
  976. XAll users shall strictly adhere to both the letter and spirit of the policies
  977. Xprovided to assure a predictable computing environment secure for all users.
  978. X
  979. XSystem administrators (persons having 'root' permission) may occasionally have
  980. Xto stray from the letter of these policies, but may *never* violate its spirit.
  981. XIf in doubt, they shall seek consultation.
  982. X
  983. X3.  Basic Provisions
  984. X
  985. XFailure to abide with the following general rules may result in loss of login
  986. Xaccess:
  987. X
  988. X   *     You may only use those facilities which have been authorized
  989. X    for your use. If access is protected by a password, you are not
  990. X    to make this password available to others, nor allow someone else
  991. X    to give his password to you or use your account. You may not
  992. X    attempt to find out the password of another user, nor abet such
  993. X    attempt by any other person.
  994. X
  995. X   *     You may use authorized facilities only for authorized purposes.
  996. X
  997. X   *     You must be aware of the law of copyright as it affects computer
  998. X    software. A formal copyright need not be in evidence for legal
  999. X    copyright protection to be in force.
  1000. X    
  1001. X   *    You are the copyright owner of any file which you solely create
  1002. X    for your own exclusive use. Any other file is copyright either
  1003. X    by the company, by commercial vendors, or by other individual
  1004. X    users, and it is illegal for you to reproduce such file in any
  1005. X    part or in any form, except where required by company business,
  1006. X    or else by written permission of the copyright owner.
  1007. X
  1008. X   *     You may not attempt to interfere with the present or future oper-
  1009. X    ation of any computing facility.
  1010. X
  1011. X   *     You may not attempt to subvert -- or abet others to subvert -- the
  1012. X    security of any computing facility.
  1013. X
  1014. X   *    You may not interfere with use by any other authorized user, nor
  1015. X    compromise the confidentiality of the company's internal business
  1016. X    practices or records.
  1017. X
  1018. X   *     You may not use the company's computing facilities to send messages
  1019. X    which are manifestly obscene or otherwise harassing.
  1020. X
  1021. X4.  Right of Free Speech
  1022. X
  1023. XYou may disagree with any or all computer resource policies, either publically
  1024. Xor privately, in accordance with your First Amendment rights.  However, you
  1025. Xmay not violate any published policy for any reason or cause.
  1026. X
  1027. X5. Right of Appeal
  1028. X
  1029. XIf any policy has provisions you dislike, please notify the system manager
  1030. Xdescribing your concerns and/or suggestions. You have the right of appeal
  1031. Xto the President, MTEK International, regarding any policy provision or
  1032. Xinterpretation thereof.
  1033. X
  1034. X6.  Administration
  1035. X
  1036. XAll policies must be endorsed by the President, MTEK International, Inc.,
  1037. Xbefore they may be placed in force. Policies may be modified only by formal
  1038. Xchange, followed by adequate public notice to all login users.
  1039. X
  1040. X7.  Disclaimer
  1041. X
  1042. X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  1043. X*                                                                         *
  1044. X*    The company accepts NO RESPONSIBILITY for any damage to or loss of   *
  1045. X*    data arising directly or incident to the use of these or other       *
  1046. X*    facilities, or for any consequential loss or damage therefrom. It    *
  1047. X*    makes representation of NO WARRANTY, express or implied, regarding   *
  1048. X*    the computing services offered, or their fitness for any particular  *
  1049. X*    use or purpose.                                                      *
  1050. X*                                                                         *
  1051. X*    The company's liability in the event of any loss or damage shall     *
  1052. X*    be LIMITED TO THE FEES AND CHARGES, IF ANY, PAID TO THE COMPANY      *
  1053. X*    for use of the computing facilities which resulted in said loss      *
  1054. X*    or damage.                                                           *
  1055. X*                                                                         *
  1056. X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  1057. X
  1058. X8.  Agreement to Comply
  1059. X
  1060. XYou implicitly acknowledge, by continued system use, your agreement to comply
  1061. Xwith all published policies governing the use of this system.
  1062. X
  1063. XYou also agree to read all future system 'news' messages containing the word
  1064. X"policy", since these will contain information announcing specific policy
  1065. Xchanges which are of substance.
  1066. X
  1067. XCopyright (c) 1990, 1991 by MTEK International, Inc. - freely distributable.
  1068. END_OF_FILE
  1069. if test 5206 -ne `wc -c <'text/gen'`; then
  1070.     echo shar: \"'text/gen'\" unpacked with wrong size!
  1071. fi
  1072. # end of 'text/gen'
  1073. fi
  1074. if test -f 'text/help' -a "${1}" != "-c" ; then 
  1075.   echo shar: Will not clobber existing file \"'text/help'\"
  1076. else
  1077. echo shar: Extracting \"'text/help'\" \(1244 characters\)
  1078. sed "s/^X//" >'text/help' <<'END_OF_FILE'
  1079. Xhelp    - how to use these files (!)          $Revision: 5.3.2.5 $
  1080. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1081. X
  1082. XThose documents which are marked with "(!)" are compulsory. (The item
  1083. X'ann' is the announcement you already saw when you first logged in, and
  1084. Xyou need not read it again.)
  1085. X
  1086. XThese remaining items should be read in the following order:
  1087. X
  1088. X               gen     - general policy (!)
  1089. X               logins  - responsibilities of users (!)
  1090. X               sec     - system security (!)
  1091. X               usenet  - our access to the world (!)
  1092. X               news    - guidelines on usenet news (!)
  1093. X               appr    - approval by top management (!)
  1094. X
  1095. XAll these files are marked with copyright notices.
  1096. X
  1097. XThose that say "freely distributable" you may copy and publish anywhere,
  1098. Xin any form, to anyone.
  1099. X
  1100. XThose which are marked "All rights reserved" and "not distributable" may
  1101. Xnot be copied by you or distributed to anyone in any form, electronic or
  1102. Xotherwise, since they contain information we don't want dispersed to
  1103. Xthe outside world.
  1104. X
  1105. XTo select any displayed item, simply type in the key word shown at the
  1106. Xleft to read about that subject.
  1107. X
  1108. XTo quit at any time, type in 'q'.
  1109. X
  1110. XCopyright (c) 1991 by MTEK International, Inc. - freely distributable.
  1111. END_OF_FILE
  1112. if test 1244 -ne `wc -c <'text/help'`; then
  1113.     echo shar: \"'text/help'\" unpacked with wrong size!
  1114. fi
  1115. # end of 'text/help'
  1116. fi
  1117. if test -f 'text/logins' -a "${1}" != "-c" ; then 
  1118.   echo shar: Will not clobber existing file \"'text/logins'\"
  1119. else
  1120. echo shar: Extracting \"'text/logins'\" \(2506 characters\)
  1121. sed "s/^X//" >'text/logins' <<'END_OF_FILE'
  1122. Xlogins  - responsibilities of users (!)                 $Revision: 5.3.2.5 $
  1123. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1124. X
  1125. X1. Facilities Authorized
  1126. X
  1127. XAs a login user, you are granted use of all computing facilities, subject
  1128. Xonly to these provisions:
  1129. X
  1130. X    A. If you are neither a company-engaged employee nor contractor, then
  1131. X    you may use only those public facilities provided. Except for email
  1132. X    and news postings, you may not attempt access to any facility which
  1133. X    will result in third-party charges accruing to the company.
  1134. X    
  1135. X    B. Employees and contractors may use any facility provided them by
  1136. X    the company as required to complete their assigned work, subject
  1137. X    only to "need-to-know".
  1138. X    
  1139. X    C. System administrators (persons having full 'root' permissions
  1140. X    on this host) may use any facilities available and necessary to
  1141. X    complete required tasks, so long as such use does not needlessly
  1142. X    violate the privacy of any login user or of restricted company files.
  1143. X    System administrators may likewise grant the same access to outside
  1144. X    support persons, as needed, but only on a temporary basis. Need-to-
  1145. X    know restrictions apply to them no less than others.
  1146. X
  1147. X2. Suspension & Termination
  1148. X
  1149. XThe system manager is vested with the absolute and unfettered right to
  1150. Xsuspend, with or without immediately-stated cause or notice, any login which
  1151. Xmay have been granted on this host at any time, as follows:
  1152. X
  1153. X    A. Cause for suspension shall exist whenever the system manager judges
  1154. X    that the action of a login user is (or may be) of such character as to
  1155. X    threaten immediate harm to the company, to any computing facility,
  1156. X    or to any user owing to apparent violation of any provision of the
  1157. X    general computer resources policy.
  1158. X
  1159. X        B. Receipt from a local user (or system administrator at another host)
  1160. X    of complaint about manifestly abusive behavior by a local user may
  1161. X    likewise place user's login privileges in extreme jeopardy.
  1162. X
  1163. XA final decision on termination shall follow a full review of the facts and
  1164. Xevents brought to evidence by the suspended login user and any other parties
  1165. Xclaiming an interest in the outcome. The President will finally rule on any
  1166. Xrecommendation to permanently terminate.
  1167. X
  1168. X3. Bogus Email & News
  1169. X
  1170. XIt is true that it is relatively simple to create 'bogus' email or news
  1171. Xpostings. Any login user who believes that someone has sent bogus mail
  1172. Xor news under his name and this site name should notify the system manager
  1173. Ximmediately.
  1174. X
  1175. XCopyright (c) 1990, 1991 by MTEK International, Inc. - freely distributable.
  1176. END_OF_FILE
  1177. if test 2506 -ne `wc -c <'text/logins'`; then
  1178.     echo shar: \"'text/logins'\" unpacked with wrong size!
  1179. fi
  1180. # end of 'text/logins'
  1181. fi
  1182. if test -f 'text/news' -a "${1}" != "-c" ; then 
  1183.   echo shar: Will not clobber existing file \"'text/news'\"
  1184. else
  1185. echo shar: Extracting \"'text/news'\" \(2622 characters\)
  1186. sed "s/^X//" >'text/news' <<'END_OF_FILE'
  1187. Xnews    - guidelines on usenet news (!)                $Revision: 5.3.2.5 $
  1188. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1189. XWe carry only a partial selection of newsgroups owing to limitations of disk
  1190. Xspace. If there is a group you want to read that is not currently carried,
  1191. Xthen make a request to the system manager, and we will attempt to supply it
  1192. Xpromptly, so long as local disk space will not be unreasonably compromised.
  1193. X
  1194. XNo request shall be denied because of the subject matter of the group.  No
  1195. Xattempt will be made to censor incoming news groups, nor the content of the
  1196. Xindividual articles posted thereto. To which groups you choose to subscribe
  1197. Xand post is your private business, and we make no judgements of such individ-
  1198. Xual preferences or choices.
  1199. X
  1200. XIf you are not a prior user of usenet news, then DON'T POST until you know
  1201. Xwhat you are doing and have read the "netiquette" documents (request your
  1202. Xown personal printed copy from the system administrator).
  1203. X
  1204. XYou will see a number of (perhaps passionate) discussions regarding "the
  1205. Xspirit of usenet" - interpretations of what limits, if any, that different
  1206. Xpersons believe should or shouldn't be respected in a worldwide collective
  1207. Xthat is quite accurately described as an "anarchy".
  1208. X
  1209. XUsenet may be an anarchy, but this site is not! We subscribe to the notion
  1210. Xthat each usenet host management should "think globally, act locally", and
  1211. Xwe do so by our own best lights.
  1212. X
  1213. XTherefore, if you do post an article, we ask that you conduct yourself as an
  1214. Xadult. A modest word is no less effective than a brash one, if you are
  1215. Xskilled. If you are not skilled, then you won't conceal the fact by resorting
  1216. Xto gratuitous abuse. Indeed, this deficiency will only be compounded and
  1217. Xmade more visible to everyone around you - both locally and out on the net.
  1218. X
  1219. XIf in doubt, trim your sails a bit.
  1220. X
  1221. XWe must point out that any complaints of real abuse (either in one or more
  1222. Xnews postings or private email messages) will be treated seriously if the
  1223. Xcomplaint originates from the system administrator of another site.
  1224. X
  1225. XIf you have offended some other user elsewhere, but that user is not willing
  1226. Xto make a formal complaint to his local management, then we have to assume
  1227. Xthe injury was modest and falls within the normal ranges of usenet posting
  1228. Xbehavior (or misbehavior, depending on your view :-).
  1229. X
  1230. XLikewise, however, the risk *is* yours, so consider carefully who you are
  1231. Xaddressing - some people don't have a sense of humor or a thick hide - and
  1232. Xit is your personal responsibility to assess this accurately.
  1233. X
  1234. X   Copyright (c) 1991 by MTEK International, Inc. - freely distributable.
  1235. END_OF_FILE
  1236. if test 2622 -ne `wc -c <'text/news'`; then
  1237.     echo shar: \"'text/news'\" unpacked with wrong size!
  1238. fi
  1239. # end of 'text/news'
  1240. fi
  1241. if test -f 'text/usenet' -a "${1}" != "-c" ; then 
  1242.   echo shar: Will not clobber existing file \"'text/usenet'\"
  1243. else
  1244. echo shar: Extracting \"'text/usenet'\" \(4867 characters\)
  1245. sed "s/^X//" >'text/usenet' <<'END_OF_FILE'
  1246. Xusenet  - our world-wide connection (!)                  $Revision: 5.3.2.5 $
  1247. X^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1248. X    
  1249. X  The provisions of the following charter are binding upon system adminis-
  1250. X  trators and all login users on this host:
  1251. X    
  1252. X  ============================================================================
  1253. X
  1254. X                           USENET GENERAL STANDARDS
  1255. X
  1256. X  Local site administration will:
  1257. X    
  1258. X  1. Support the expansion of network connectivity to other sites wherever
  1259. X     reasonable within the limitations of local authorized resources.
  1260. X    
  1261. X  2. Perpetually maintain a current usenet map for this site, and publish
  1262. X     ONLY those connections made with leaf-sites whose sysadmins agree to:
  1263. X        
  1264. X     A. Perpetually maintain a current usenet map for that site, and.....
  1265. X           
  1266. X     B. Submit a copy of their initial map for our local records, and....
  1267. X    
  1268. X     C. Require other new leaf-sites to which they may connect thereafter
  1269. X    to meet these same requirements.
  1270. X
  1271. X  3. Assist sysadmins of other sites to establish network connection, and
  1272. X     particularly assist any who are connecting to a network feed for the
  1273. X     very first time (including preparation for them of initial usenet map,
  1274. X     if necessary).
  1275. X        
  1276. X  4. Provide "common carrier" network services for receiving, transmitting,
  1277. X     and storing email and news articles. Limitation, if any, of specific
  1278. X     news groups carried shall be based solely on considerations of available
  1279. X     authorized resources and demonstrated readership interest. Any liability
  1280. X     which may arise from the contents of email, news, or any similar elec-
  1281. X     tronic transmission shall be the sole responsibility of the individual
  1282. X     originator, regardless of location, and no local attempt shall be made
  1283. X     to review, regulate, or censor contents of such transmissions at any
  1284. X     time.
  1285. X    
  1286. X  5. Advise local users of their sole responsibility for any news postings or
  1287. X     private email messages they may originate, with the probability of local
  1288. X     action against them if one or more complaints are received where evidence
  1289. X     shows the presence of blatant and willful intent (aggravated or not) to
  1290. X     abuse other person(s) or classes of persons.
  1291. X     
  1292. X  6. Advise local users that private email messages are assumed to be confi-
  1293. X     dential communications to the addressee(s) unless the originator states
  1294. X     clearly that confidentiality need not be preserved. If a user reveals the
  1295. X     contents of such email to a non-addressee, then he or she assumes the
  1296. X     burden of proof that confidentiality was not desired by the sender. Fail-
  1297. X     ure to respect email confidentiality shall be treated as willful abuse
  1298. X     of the originator.
  1299. X    
  1300. X  7. Allow any local user to provide to the system administrator a full and
  1301. X     complete copy of any email which the user believes to show evidence of
  1302. X     harrassment or abuse. (Such complaint received from a user in another
  1303. X     organization shall be returned with instructions to submit the complaint
  1304. X     to their own local sysadmin, who then has the option of forwarding the
  1305. X     complaint). Once such a formal complaint is received, the suspect email
  1306. X     shall automatically loose the full protection of confidentiality, since
  1307. X     it can and will be examined by those investigating the complaint, and
  1308. X     may be submitted to others for final action. Any user who repeatedly
  1309. X     complains of "abuse" (where none is found by third-party examination)
  1310. X     may, likewise, be held to have abused the persons whose email has
  1311. X     thus been wrongfully denied the full protection of confidentiality.
  1312. X     
  1313. X  8. Otherwise take reasonable measures to preserve the privacy of any email
  1314. X     which enters or leaves this site, regardless of origin or destination,
  1315. X     and reasonably assist in proper routing of any unsuccessful email trans-
  1316. X     mission which is forwarded for our attention. Sysadmins may examine email
  1317. X     headers only when necessary for administrative purposes, but shall not
  1318. X     examine other contents. However, no express or implied warrantee of email
  1319. X     privacy exists owing to this or any provision of this charter.
  1320. X
  1321. X  9. Provide to local users a prominently-displayed notice of local exceptions
  1322. X     (if any) to these general standards.
  1323. X
  1324. X 10. Encourage other existing sites to formally adopt these minimum standards
  1325. X     for themselves to help assure the reliability, security, and privacy of
  1326. X     all network communications.
  1327. X
  1328. X =============================================================================
  1329. X    
  1330. X  Any request for uucp connection should be emailed to "postmaster@mtek.com"
  1331. X  or "mtek!postmaster" for attention. Only rarely would such a request be
  1332. X  refused. We will be as helpful as prevailing conditions allow.
  1333. X    
  1334. X  Copyright (c) 1991 by MTEK International, Inc. - freely distributable.
  1335. END_OF_FILE
  1336. if test 4867 -ne `wc -c <'text/usenet'`; then
  1337.     echo shar: \"'text/usenet'\" unpacked with wrong size!
  1338. fi
  1339. # end of 'text/usenet'
  1340. fi
  1341. echo shar: End of archive 1 \(of 3\).
  1342. cp /dev/null ark1isdone
  1343. MISSING=""
  1344. for I in 1 2 3 ; do
  1345.     if test ! -f ark${I}isdone ; then
  1346.     MISSING="${MISSING} ${I}"
  1347.     fi
  1348. done
  1349. if test "${MISSING}" = "" ; then
  1350.     echo You have unpacked all 3 archives.
  1351.     echo "'This is usenet version 5.3.2.5 of 91/09/03.'"
  1352.     rm -f ark[1-9]isdone
  1353. else
  1354.     echo You still need to unpack the following archives:
  1355.     echo "        " ${MISSING}
  1356. fi
  1357. ##  End of shell archive.
  1358. exit 0
  1359. -- 
  1360. Bud Hovell
  1361. _______________
  1362. policy@mtek.com
  1363.